<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>How to upgrade netdata</title>
        <link rel="stylesheet" type="text/css" href="./css/markdown.css" />
    </head>
    <body>

    <div id="navigation">
    <a href="https://www.iredmail.org" target="_blank">
        <img alt="iRedMail web site"
             src="./images/logo-iredmail.png"
             style="vertical-align: middle; height: 30px;"
             />&nbsp;
        <span>iRedMail</span>
    </a>
    &nbsp;&nbsp;//&nbsp;&nbsp;<a href="./index.html">Document Index</a></div><h1 id="how-to-upgrade-netdata">How to upgrade netdata</h1>
<p>iRedMail installs netdata with the official binary package.</p>
<h2 id="upgrade-netdata-on-linux">Upgrade netdata on Linux</h2>
<p>To update netdata on Linux, just download new version of the prebuilt package
from its <a href="https://github.com/netdata/netdata/releases">github page</a>, then run
it:</p>
<pre><code>chmod +x netdata-latest.gz.run
./netdata-latest.gz.run --accept
</code></pre>
<p>That's it.</p>
<h2 id="upgrade-netdata-on-freebsd">Upgrade netdata on FreeBSD</h2>
<p>Please upgrade netdata with FreeBSD ports tree.</p>
<h2 id="optional-disable-sending-anonymous-statistics">[OPTIONAL] Disable sending anonymous statistics.</h2>
<p>To opt-out from sending anonymous statistics, please create empty file
<code>.opt-out-from-anonymous-statistics</code>:</p>
<ul>
<li>On Linux, it's <code>/opt/netdata/etc/netdata/.opt-out-from-anonymous-statistics</code>.</li>
<li>On FreeBSD, it's <code>/usr/local/etc/netdata/.opt-out-from-anonymous-statistics</code>.</li>
</ul>
<p>netdata will detect this file, if exists, no anonymous statistics will be sent.</p>
<h2 id="see-also">See Also</h2>
<ul>
<li><a href="./integration.netdata.freebsd.html">Integrate netdata monitor (on FreeBSD server)</a></li>
<li>netdata:<ul>
<li><a href="https://docs.netdata.cloud/docs/anonymous-statistics/#opt-out">Opt-out from sending anonymous statistics</a></li>
</ul>
</li>
</ul><div class="footer">
    <p style="text-align: center; color: grey;">All documents are available in <a href="https://github.com/iredmail/docs/">GitHub repository</a>, and published under <a href="http://creativecommons.org/licenses/by-nd/3.0/us/" target="_blank">Creative Commons</a> license. You can <a href="https://github.com/iredmail/docs/archive/master.zip">download the latest version</a> for offline reading. If you found something wrong, please do <a href="https://www.iredmail.org/contact.html">contact us</a> to fix it.</p>
</div></body></html>